FROM dev.k2data.com.cn:5001/isuper/java-oracle:jdk_7
# RUN rm -Rf /var/lib/apt/lists/*
# ADD sources.list.trusty /etc/apt/sources.list
# RUN apt-get clean && apt-get update --fix-missing && apt-get install -y python
# RUN apt-get install -y mysql-client-5.6
# RUN apt-get install -y time bc

WORKDIR /opt/k2data

ADD target/k2data-huineng-dataserver.jar /opt/k2data/k2data-huineng-dataserver.jar

ENTRYPOINT ["java", "-cp", "k2data-huineng-dataserver.jar", "netty.server.Server"]
CMD []
